as magma cool,it forms ? rock by the process of ?.

Since this is not my area of expertise, I searched Google under the key words "magma cooling" to get these possible sources:

https://www.google.com/search?client=safari&rls=en&q=magma+cooling&ie=UTF-8&oe=UTF-8

In the future, you can find the information you desire more quickly, if you use appropriate key words to do your own search. Also see http://hanlib.sou.edu/searchtools/.

http://www.hackcollege.com/blog/2011/11/23/infographic-get-more-out-of-google.html

As magma cools, it forms igneous rock by the process of solidification.

To understand this better, let's break it down:

1. Magma: Magma is a hot, molten mixture of rock-forming substances, such as silicates, dissolved gases, and other minerals, found beneath the Earth's surface.

2. Cooling: When magma cools down, it loses heat energy. This can happen in a variety of ways, including:

a. Intrusive Cooling: If the magma cools slowly and solidifies underground, it forms intrusive igneous rock. The slow cooling allows for the growth of large crystals.

b. Extrusive Cooling: If the magma erupts onto the Earth's surface as lava and cools rapidly due to exposure to air or water, it forms extrusive igneous rock. The rapid cooling prevents the growth of large crystals, resulting in fine-grained or glassy texture.

3. Solidification: As the magma cools, the individual minerals within it start to solidify and crystallize. These minerals arrange themselves in a solid, three-dimensional structure, which ultimately forms the igneous rock.

So, in summary, as magma cools, it undergoes the process of solidification and transforms into igneous rock. The specific type of igneous rock depends on the cooling rate and the composition of the magma.