What is vi? Please explain

what is vi? Are files that were declared in the project folder were of text type? How to declare that files in os other than mac/unix