Citation generators allow you to enter a source's bibliographic information in order to automatically produce a citation that you can copy and paste into your paper. Because they are machine generated, the citations are not always 100% accurate. Be sure to double-check that your generated citations are correct with a style guide or other authoritative source. This also holds true for citations you find in a library database.
See the Purdue OWL guide linked below for more information.