Submarines submerge by increasing their density. Ballast tanks are flooded with seawater, making the submarine heavier than the displaced water. To resurface, the water is pumped out using compressed air, decreasing density and causing the sub to rise. This change in buoyancy, controlled by filling or emptying ballast tanks, allows for diving and surfacing.
This fact belongs to the general category and contributes to expanding general knowledge. Understanding such facts not only makes you smarter but also helps connect ideas across different fields.