Ball and gate valves both function to block flow, gate is most commonly used however ball is a better choice for some particular applications. They have significant physical differences.
Gate valves open by lifting a gate out of the path of the service fluid, ball valves have a stem and a ball that turn horizontally.