To dive, in an airplane, means to descend steeply and rapidly. To pull out of a dive means to stop going downward -- either to level off or to go back up.
In flying a dive is when the plane is pointing towards the ground and descending fast. Pulling out of the dive is when the pilot gets the plane to stop heading towards the ground and fly level.