How to change selinux context of a file or directory

SELinux Context

In Linux processes and files are labeled with a SELinux context that contains additional information, such as a selinux user, role, type, and optionally, a level.