Physics Performance Question, LUA or C?

Does the physics engine executed in C or in Lua?

I am currently doing my own collision detection, i was curious if the box2d was running in lua as well or is it executed at the c level? Trying to decide if its worth converting my code to use the physics engine since I don’t need all the features it offers.

Thanks in advance.

-John