What is the bill of lading? How does it differ from the bill of entry?

Bill of lading is a document where a shipping company gives it official receipt of the good, iD put onboard its vessel and at the same time give an undertaking to carry them to the port of destination. It is different with the bill of entry in the following way: