The main function of squamous epithelial tissue is to protect the underlying tissues from damage, infection, and other harmful substances. It is also selectively permeable, which means that it allows certain substances to pass through, such as gases and solutions.