Brain aneurysm is a serious medical condition that occurs when a weak spot in a brain artery wall bulges or…