# Is an attack of opportunity an immediate action?

If you make an attack of opportunity, can you take an immediate action in the same round? It would make sense because immediate actions were invented after the PH (and therefore AoOs), but is this RAW?

I’m asking this question because in 5e (the system where immediate actions-or rather “reactons” are in the core rulebooks), an attack of opportunity is a reaction.