Etymology
Today it means: A polite form of address for a man. Full definition →
From gentle + sir, modelled on gentleman.
Etymology from Wiktionary, CC BY-SA 4.0.