They don’t replace each other. Aircraft carriers didn’t replace battleships. It simply made battleships non-viable without a replacement.
What it led to was smaller ships such as corvettes, destroyers, and cruisers taking over the role of battleships but still never replacing them in raw firepower.
I think what people like you are starting to learn is that both are necessary.
A lot about fighting a war is variety. Tanks have their uses, and so do drones.
Trying to argue one can replace the other is stupid and rational adults should not take you seriously as a result.
They don’t replace each other. Aircraft carriers didn’t replace battleships. It simply made battleships non-viable without a replacement.
What it led to was smaller ships such as corvettes, destroyers, and cruisers taking over the role of battleships but still never replacing them in raw firepower.