A sexually transmitted bacterial infection caused by Treponema pallidum. The disease has 4 clinical stages, with primary syphilis typically manifesting with a painless chancre on the genitals.