What are the three features formed from magma?