Base64 encoding is widely used by many applications that make use of the internet. This is done to make it easy to transfer data, especially media, across the network over channels that are built to handle only different types of data. The media data in binary is encoded into Base64 and transferred over the internet. Thus, the data remains intact during the transfer.
In more layman terms, you can convert binary data into the Base64 form and send it via email or in HTML form. Once the data reaches the destination, you can use a tool like ‘Base64 to Text’ to convert the data back to its original form, which in this case is text.