My brother sold a rental home in California and passed away before he could exchange the proceeds into a new rental home. Does his estate owe capital gains?

if the estate does owe capital gains, can we avoid them if the estate purchases a property?