An aneurysm is a localized abnormal dilation or bulging of a blood vessel, typically caused by a weakness in the vessel wall. It can occur in arteries or veins and may lead to serious complications such as rupture or thrombosis. Aneurysms are most commonly found in arteries, including the aorta and cerebral arteries.