This informal meaning refers to the courage needed to do something difficult or risky.
It took guts to admit the mistake.
She had the guts to challenge the decision.
This figurative meaning refers to the important components hidden inside something.
The technician replaced the guts of the computer.
The building was stripped down to its guts.