We can do following benefits stuff with htaccess.
- Routing the URL
- Mange Error Pages for Better SEO
- Redirection pages
- Detect OS (like Mobile/Laptop/Ios/Android etc)
- Set PHP Config variable
- Set Environment variable
- Allow/Deny visitors by IP Address
- Password protection for File/Directory
- Optimize Performance of website
- Improve Site Security