Unhappy [Q] [HELP]Home.apk and framework.jar

Hey Guys, i want to know a few things.
I want to know what's the importance of framework.jar
What is the relation between Home.apk and Framework.jar
Why always when someone port a home app he includes a framework.jar file with it ?
Hope you answer me and Thanks
My Devices:
*Sony Xperia J (ST26i)
My Contributions on XDA:
ROMs
Doomsday ROM for Xperia J
Illusion ROM for Xperia J
Mods & Ports
XPERIA 6.1.2.A.0.1 Home Port
Guides:
How to create your own stock based XPERIA ROM
Compile your own android kernel from source
Teams i work for:
Team Moonbreakers
Devices i develop for:
Sony XPERIA J
Sony XPERIA E
Samsung Galaxy Core