ActionPack framework

What is the "ActionPack" framework?

And, a thing that really confuses me a bit is: What do we mean by an application framework?

And, is Rails considered a web application framework?

Thanks.