What is the difference between explicit and implicit costs? Should both be considered for optimal business decision-making by the firm?

What is the difference between explicit and implicit costs? Should both be considered for optimal business
decision-making by the firm?