Conclusion

Flea bites anything that has blood, only they stay longer on pets that have fur. If you have a dog or cat you share your bed with, you may be more likely to get bitten in bed. And also have your bed infested in it.
To eliminate flea infestations, you can make use of flea prevention products on your pet. Cleaning all the soft surfaces in your home regularly will also help.
References;
[1] https://pubmed.ncbi.nlm.nih.gov/26478564
[2] https://entnemdept.ufl.edu/creatures/urban/occas/dogflea.htm
[3] https://entnemdept.ufl.edu/creatures/urban/occas/catflea.htm
[4] https://www.nhs.uk/conditions/anaphylaxis/
[5] https://vcahospitals.com/know-your-pet/flea-and-tick-prevention











