Apart from checking the authenticity of your documents, they also verify your identity, analyze your travel history, check your proof of onward travel, as well as conduct other security checks among many others. Visa officers basically just want to ensure that what you've said about yourself and the purpose of your trip are true.