Obsessive thoughts can be symptoms of both ADHD and OCD. ADHD often involves hyperfixations or racing thoughts, while OCD includes obsessive thoughts and compulsive behaviors.