def _get_headers(fields, item):
    """
    Return the description (docstring) of each specified field in a given
    model which can be used as table headers.

    Args:
        fields (list): field names
        item (any): an object containing the attributes listed in fields

    Returns:
        list: fields' descriptions
    """
    headers = []
    for attr in fields:
        field = getattr(item, attr)
        headers.append(field.__doc__)
    return headers