Does it matter what kind of unisom I take?

J

Just started on the unisom and realized I’m taking the diphenhydramine. Is it pretty much the same thing?