Honest curiosity

I know some athiest believe in no God or no devil. BUT I know some who believe in possession.. And I know some who believe in ghost and believe in the devil but not God. How can you believe in one but not the other?