What is the difference between a standard and a guideline?

A standard is a formalized document that specifies mandatory or recommended requirements, whereas a guideline provides non-mandatory best practices to follow.