Get list options of a field

We may want to get the options available for a field in content type. This can be achieved using Field API.

<?php
$blood_group_field
= field_info_field("field_blood_group");
$blood_groups = list_allowed_values($blood_group_field);
?>

where "field_blood_group" is the field machine name.