Mothers can pass certain STDs to their babies during the birth and sometimes during the pregnancy or through breastfeeding. These can include but are not limited to HIV, the virus that causes AIDS.