The phrase "what the heck" is an informal expression used to indicate a lack of concern about a negative aspect of a situation or action. It is often used as a softer alternative to "what the hell"