What Base64 is
Base64 is a way to represent binary data using only 64 printable characters: A–Z, a–z, 0–9, + and /, with = as padding. Every 3 bytes of input become 4 characters of output, so encoded data is about 33% larger than the original. The standard is described in RFC 4648.
It exists because many channels were built for text: email bodies, JSON fields, XML, HTTP headers. Base64 lets you carry an image, a PDF or arbitrary bytes through them without corruption. It is an encoding, not encryption; anyone can decode it.