Complex sentence: Chaotian palace was first built by Hongwu Emperor in late 14th century during the early Ming Dynasty, and it was used primarily by members of the royalty for "veneration of ancestors".
Split into simpler sentences: Chaotian Palace was first built by Emperor Hongwu in late 14th century during the early Ming Dynasty. It was used primarily by members of the royalty for "veneration of ancestors".