What STDs do they check for when you are pregnant?

If your pap smear showed that you have HPV (human papilloma virus) is that an STD or just a virus that many people have? HPV causes genital warts, does that mean that genital warts is an STD or just a result of HPV? Thanks!