According means you attribute a statement to someone.(preposition)
An example of according is when you say that Jim is the one who told you it was going to rain. You would say "According to Jim, it is going to rain."
The definition of according is agreeing or being in harmony.(verb)
See according in Webster's New World College Dictionary
Learn more about according