Taking aspirin?

My midwife told me I’d need to take aspirin during my pregnancy? I was wondering if anyone was also put on it? She didn’t really go into it but did say it was due to my bmi