Syphilis is a sexually transmitted disease caused by bacteria. It infects the genital area, lips, mouth, or anus of both men and women. One usually gets syphilis from sexual contact with someone who has it. It can also pass from mother to baby during pregnancy.