Typhoid fever is a bacterial infection caused by Salmonella typhi, and it spreads mainly through contaminated food and w