Fruit of the day

We saw these fruits hanging down a couple huge trees, but what is it? Looks slightly like a papaya in shape and size but the trees of the papaya looks much different. Is this edible?