How do fluids move towards rocks??? plz answer me :D

Fluids move towards rocks through a process called capillary action. Capillary action is the tendency of a liquid to move in narrow spaces or tubes against the force of gravity. It occurs due to the cohesive forces between the molecules of the liquid and the adhesive forces between the liquid and the surface it comes into contact with.

When a fluid, such as water, comes into contact with a solid surface, the adhesive forces between the fluid and the surface cause the fluid to spread out and wet the surface. In the case of rocks, the surface may have tiny pores, cracks, or roughness that provide spaces for the fluid to penetrate.

Once the fluid wets the surface, the cohesive forces between its molecules come into play. These forces enable the fluid to climb upwards against gravity through the small spaces in the rock. The narrower the spaces, the higher the fluid can rise due to capillary action.

Factors that affect capillary action include the size of the pores or capillaries in the rock, the viscosity of the fluid, and the degree of wetting between the fluid and the rock surface. Smaller pores, low viscosity fluids (like water), and better wetting between the fluid and the rock surface enhance capillary action.

So, when fluids come into contact with rocks, they can move towards them due to capillary action enabled by adhesive and cohesive forces between the fluid molecules and the rock surface.