I am a bit confused about using "at, in, on"
I know that "I am swimming in the river." is fine. How about "I am swimming at the river."?
"They are working on the farm" is right. How about "They are working in the farm."? or "I am studying at the library."
Would you check the grammaticality of these sentences?