Pneumococcal infections are caused by bacteria. The bacteria can cause different types of infections throughout the body.