An infection caused mostly by bacteria, some by fungi and rarely by the virus in any part of the urinary…