A logo is an image, motif or typographic element that identifies your business/brand, and potentially it's values and vision.

A brand identity incorporates logos, photography/illustration style, colour palettes, fonts, and supporting design elements. It dives deep into the key messaging, tone of voice and the strategies behind your communication. All of this would be documented in your brand guidelines.