How many hits is each team permitted to have on their side of the net in volleyball before returning the ball to the other team?

Each team is allowed a maximum of three hits on their side of the net before returning the ball to the other team.