Dear Student,
Liquids exerts pressure on all sides of its container. This is because liquid molecules can move in all three possible directions. These liquid molecules collide with the walls, thereby exerting force on all of its walls. This force per unit area of the walls is the pressure exerted by the liquid.
Regards