We are having some problems with "chat" and are experiencing delays with messages. Either leave contact details so I can get back to you or email your query to mal@scienceofmagic.co.uk
Sandstone is a metamorphic rock it is formed from sediments. After burial these segments undergo diagenesis-- the gaps between the sediments fill up with cements. Some sandstones still retain a great deal of porosity, they can be reservoirs for other materials such as oil.